module.exports = {  
  entry: './src/app.ts',
  output: {
    filename: 'public/js/bundle.js'
  },
  resolve: {
    extensions: ['', '.webpack.js', '.web.js', '.ts', '.js', '.tsx']
  },
  module: {
    loaders: [
      { test: /\.ts(x?)$/, exclude: /node_modules/, loader: 'babel-loader?presets[]=es2015!ts-loader' }
    ]
  }
}